class CreateEmployees < ActiveRecord::Migration
  def self.up
    create_table :employees do |t|
      t.column  :first_name,      :string
      t.column  :last_name,       :string
      t.column  :created_on,      :timestamp
      t.column  :updated_on,      :timestamp
      t.column  :lock_version,    :integer, :default => 0
    end
  end

  def self.down
    drop_table :employees
  end
end
